package com.gxa.meiye.admin.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.meiye.core.common.ResponseData;
import com.gxa.meiye.core.pojo.shopManagement.Project;

import java.util.List;

/**
 * @Author cc
 * @PackageName meiye
 * @Package com.gxa.meiye.admin.shop.service.impl
 * @Date 2022/7/24 18:01
 * @Version 1.0
 */
public interface ServiceManagement extends IService<Project> {

    List<Project> getAllService();
    Integer getAllServiceCount();
    void saveAll(Project project);

    ResponseData putOnSale(Integer[] ids);

    ResponseData offTheShelf(Integer[] ids);

    ResponseData changeProject(Project project);

    Integer getByProjectName(String name);

    void updateByProjectName(Project project);
}
